const proxyTarget = process.env.UNI_H5_PROXY || 'http://localhost:8081';

module.exports = {
  devServer: {
    port: 5173,
    proxy: {
      '/renren-api': {
        target: proxyTarget,
        changeOrigin: true
      }
    }
  }
}; 